<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="org.jmu.entity.Topic"%>
    <!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>修改头像</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="views/static/layui-v2.5.6/layui/css/layui.css"  media="all">
</head>
<body id="bd" background="views/static/imgs/bg3.png" style="background-repeat: no-repeat;background-size: 100% 100%;background-attachment: fixed;">


<div class="site-demo-button" id="layerDemo" style="margin-bottom: 0;">
  <button data-method="notice" class="layui-btn layui-btn-radius" onclick="window.location.href='talk_center.jsp'" style="position:absolute;left: 7px;top: 7px;"><i class="layui-icon"></i>交流中心</button>
</div>

<%Topic topic = (Topic)session.getAttribute("topic"); %>
	<div id="detail" style="position: absolute;top: 50px;left: 400px;">
		<h1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=topic.getTitle() %></h1>
		<br>
		<img alt="" src="imgs/<%=session.getAttribute("fileName") %>" width="30px" height="30px">
		<span class="layui-badge layui-bg-blue" >楼主</span>&nbsp;&nbsp;<span><%=topic.getAuthor_name() %></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span class="layui-badge layui-bg-red" >所属版块</span>&nbsp;&nbsp;<span><%=topic.getSort_topic() %></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span class="layui-badge layui-bg-green" >发布时间</span>&nbsp;&nbsp;<span><%=topic.getCreate_time() %></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<br>
		<br>
		<br>
		<pre><%=topic.getContent() %></pre>
	</div>

              
<script src="views/static/layui-v2.5.6/layui/layui.all.js" charset="utf-8"></script>

</body>
</html>